package com.ybkj.daijia.server.service;

import com.ybkj.daijia.page.Page;
import com.ybkj.daijia.server.model.Advertisement;
import java.util.List;


public interface AdvertisementService {

    Advertisement createAdvertisement(Long companyId, String companyName,
        String linkAddress, Integer sequence, String picture);

    Page<Advertisement> advertisementData(String companyName);

    Advertisement findById(Long id);

    void delete(Advertisement advertisement);

    List<Advertisement> findByCompanyId(Long companyId);

    Advertisement updateAdvertisement(Advertisement advertisement);

}
